<div class="modal fade in">
    <div class="modal-dialog">
        <div class="modal-content" ng-controller="DeployCtrl">
            <div class="modal-header">
                <button type="button" class="close" ng-click="close()"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title">设置云服务器密码</h4>
            </div>
            <div class="modal-body">
                <div class="modal-body">
                    <form class="form-horizontal" name="deployForm">
                        <div class="form-group" ng-class="{true:'has-error'}[error.password]">
                        <label class="col-sm-3 control-label"><span class="text-danger">*</span>密码</label>
                        <div class="col-sm-6">
                            <input type="text" name="password" class="form-control" ng-model="formData.password" required maxlength="24">
                            <p class="text-error">{{errsMsg.pwdErrMsg}}</p>
                        </div>
                    </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn-flat" ng-click="ok()">确定</button>
                <button type="button" class="btn btn-primary btn-flat" ng-click="cancel()">取消</button>
            </div>
        </div>
    </div>
</div>